package com.neuedu.studentmanage.service;

import java.util.List;

import com.neuedu.studentmanage.entity.Result;
import com.neuedu.studentmanage.entity.Teacher;

public interface TeacherService extends BaseService<Teacher> {

	/**
	 * 教师登录
	 * 
	 * @param teacher
	 * @return
	 */
	public Teacher login(Teacher teacher);

	/**
	 * 条件查询
	 * 
	 * @param teacher
	 * @return
	 */
	public List<Teacher> findBy(Teacher teacher);
	
	public Result passEdit(Teacher teacher);
}
